package com.ruoyi.project.system.domain.dto;

import lombok.Data;

@Data
public class QueryData {

    private boolean success;

    private String msg;

    private Object info;

    public QueryData(String msg, Object info) {
        this.success = true;
        this.msg = msg;
        this.info = info;
    }

    public QueryData(String msg) {
        this.success = false;
        this.msg = msg;
    }
}
